type Res<T> = {
    code: number
    message: string
    data: T
}
type Announment = {
    content: string;
    createdAt: string;
    creatorName: string;
    id: string;
    title: string;
}
type Detail = {
    content: string;
    /**
     * 创建时间
     */
    createdAt: string;
    /**
     * 创建人姓名
     */
    creatorName: string;
    /**
     * 公告id
     */
    id: string;
    /**
     * 公告title
     */
    title: string
}
const announment: Res<Announment[]> = {
    code: 11,
    message: '222',
    data: [{
        content: '11',
        createdAt: '122',
        creatorName: '33',
        id: '34',
        title: '55'
    }]
}
const detail: Res<Detail> = {
    code: 11,
    message: '222',
    data: {
        content: '11',
        createdAt: '122',
        creatorName: '33',
        id: '34',
        title: '55'
    }
}
// announment.data[0].content
// detail.data.content
export { announment, detail }
